package com.bugstack.infrastructure.dao;

/**
 * @Author: czb
 * @Description: TODO
 * @DateTime: 2025/3/3 12:08
 **/

import com.bugstack.infrastructure.dao.po.Strategy;
import com.bugstack.infrastructure.dao.po.StrategyAward;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IStrategyAwardDao {

    List<StrategyAward> queryStrategyAwardListByStrategyId(Long strategyId);

    List<StrategyAward> queryStrategyAwardList();

    List<StrategyAward> queryStrategyAwardListByAwardIds(Long strategyId, List<Integer> awardIds);

    Strategy queryStrategyById(Long strategyId);

    String queryStrategyAwardRuleModelVO(StrategyAward strategyAward);

    void updateStrategyAwardStock(StrategyAward strategyAward);

    StrategyAward queryStrategyAward(StrategyAward strategyAward);

    List<StrategyAward> queryOpenActivityStrategyAwardList();
}
